Average sentence length |
---|
19.1344 |
sentence length | percentage |
---|---|
2 | 0.0023 |
3 | 0.1703 |
4 | 0.7297 |
5 | 1.4280 |
6 | 2.0437 |
7 | 2.6937 |
8 | 3.4677 |
9 | 4.0527 |
10 | 4.3370 |
11 | 4.3623 |
12 | 4.5853 |
13 | 4.4230 |
14 | 4.2903 |
15 | 4.1620 |
16 | 4.6020 |
17 | 5.2753 |
18 | 3.8160 |
19 | 4.4157 |
20 | 3.6217 |
21 | 3.1703 |
22 | 2.9530 |
23 | 2.6980 |
24 | 3.5757 |
25 | 2.4173 |
26 | 2.2477 |
27 | 2.0987 |
28 | 1.9097 |
29 | 1.7120 |
30 | 1.5810 |
31 | 1.4203 |
32 | 1.3063 |
33 | 1.1843 |
34 | 1.1387 |
35 | 1.0357 |
36 | 0.9443 |
37 | 0.8460 |
38 | 0.7703 |
39 | 0.7170 |
40 | 0.6377 |
41 | 0.5690 |
42 | 0.4820 |
43 | 0.4533 |
44 | 0.3947 |
45 | 0.3253 |
46 | 0.2723 |
47 | 0.2433 |
48 | 0.1733 |
49 | 0.1437 |
50 | 0.1003 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters